home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / fcfgw40s.zip / PROPSECU.CPP < prev    next >
C/C++ Source or Header  |  1996-04-17  |  1KB  |  54 lines

  1. // PropSecurity.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "FileCFG.h"
  6. #include "PropSecurity.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CPropSecurity dialog
  16.  
  17. IMPLEMENT_DYNCREATE(CPropSecurity, CPropertyPage)
  18.  
  19. CPropSecurity::CPropSecurity(): CPropertyPage(CPropSecurity::IDD)
  20. {
  21.     //{{AFX_DATA_INIT(CPropSecurity)
  22.     m_Level = 0;
  23.     m_Age = 0;
  24.     m_Flags = _T("not implemented yet");
  25.     //}}AFX_DATA_INIT
  26. }
  27.  
  28. CPropSecurity::~CPropSecurity()
  29. {
  30. }
  31.  
  32. void CPropSecurity::DoDataExchange(CDataExchange* pDX)
  33. {
  34.     CDialog::DoDataExchange(pDX);
  35.     //{{AFX_DATA_MAP(CPropSecurity)
  36.     DDX_Text(pDX, IDC_EDIT_LEVEL, m_Level);
  37.     DDV_MinMaxInt(pDX, m_Level, 0, 65535);
  38.     DDX_Text(pDX, IDC_EDIT_MIN_AGE, m_Age);
  39.     DDV_MinMaxByte(pDX, m_Age, 0, 255);
  40.     DDX_Text(pDX, IDC_EDIT_FLAGS, m_Flags);
  41.     DDV_MaxChars(pDX, m_Flags, 32);
  42.     //}}AFX_DATA_MAP
  43. }
  44.  
  45.  
  46. BEGIN_MESSAGE_MAP(CPropSecurity, CDialog)
  47.     //{{AFX_MSG_MAP(CPropSecurity)
  48.         // NOTE: the ClassWizard will add message map macros here
  49.     //}}AFX_MSG_MAP
  50. END_MESSAGE_MAP()
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CPropSecurity message handlers
  54.